package com.ztom.beans.factory

/**
 * bean 容器
 *
 * @author ZhangTao
 */
interface BeanFactory {

    /**
     * 根据 beanName 从容器获取 bean
     *
     * @return bean 找不到抛出异常
     */
    fun getBean(beanName: String): Any
}